/*     */
package com.wgcloud.config;
/*     */
/*     */

import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/*     */
/*     */
@Configuration
/*     */
@ConfigurationProperties(prefix = "base")
/*     */ public class CommonConfig {
    /*   9 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof com.wgcloud.config.CommonConfig)) return false;
        com.wgcloud.config.CommonConfig other = (com.wgcloud.config.CommonConfig) o;
        if (!other.canEqual(this)) return false;
        Object this$dbTableTimes = getDbTableTimes(), other$dbTableTimes = other.getDbTableTimes();
        if ((this$dbTableTimes == null) ? (other$dbTableTimes != null) : !this$dbTableTimes.equals(other$dbTableTimes))
            return false;
        Object this$heathTimes = getHeathTimes(), other$heathTimes = other.getHeathTimes();
        if ((this$heathTimes == null) ? (other$heathTimes != null) : !this$heathTimes.equals(other$heathTimes))
            return false;
        Object this$dceTimes = getDceTimes(), other$dceTimes = other.getDceTimes();
        if ((this$dceTimes == null) ? (other$dceTimes != null) : !this$dceTimes.equals(other$dceTimes)) return false;
        Object this$warnCacheTimes = getWarnCacheTimes(), other$warnCacheTimes = other.getWarnCacheTimes();
        if ((this$warnCacheTimes == null) ? (other$warnCacheTimes != null) : !this$warnCacheTimes.equals(other$warnCacheTimes))
            return false;
        Object this$historyDataOut = getHistoryDataOut(), other$historyDataOut = other.getHistoryDataOut();
        if ((this$historyDataOut == null) ? (other$historyDataOut != null) : !this$historyDataOut.equals(other$historyDataOut))
            return false;
        Object this$webSshPort = getWebSshPort(), other$webSshPort = other.getWebSshPort();
        if ((this$webSshPort == null) ? (other$webSshPort != null) : !this$webSshPort.equals(other$webSshPort))
            return false;
        Object this$account = getAccount(), other$account = other.getAccount();
        if ((this$account == null) ? (other$account != null) : !this$account.equals(other$account)) return false;
        Object this$accountPwd = getAccountPwd(), other$accountPwd = other.getAccountPwd();
        if ((this$accountPwd == null) ? (other$accountPwd != null) : !this$accountPwd.equals(other$accountPwd))
            return false;
        Object this$guestAccount = getGuestAccount(), other$guestAccount = other.getGuestAccount();
        if ((this$guestAccount == null) ? (other$guestAccount != null) : !this$guestAccount.equals(other$guestAccount))
            return false;
        Object this$guestAccountPwd = getGuestAccountPwd(), other$guestAccountPwd = other.getGuestAccountPwd();
        if ((this$guestAccountPwd == null) ? (other$guestAccountPwd != null) : !this$guestAccountPwd.equals(other$guestAccountPwd))
            return false;
        Object this$wgToken = getWgToken(), other$wgToken = other.getWgToken();
        if ((this$wgToken == null) ? (other$wgToken != null) : !this$wgToken.equals(other$wgToken)) return false;
        Object this$dashView = getDashView(), other$dashView = other.getDashView();
        if ((this$dashView == null) ? (other$dashView != null) : !this$dashView.equals(other$dashView)) return false;
        Object this$dapingView = getDapingView(), other$dapingView = other.getDapingView();
        if ((this$dapingView == null) ? (other$dapingView != null) : !this$dapingView.equals(other$dapingView))
            return false;
        Object this$nodeType = getNodeType(), other$nodeType = other.getNodeType();
        if ((this$nodeType == null) ? (other$nodeType != null) : !this$nodeType.equals(other$nodeType)) return false;
        Object this$icoUrl = getIcoUrl(), other$icoUrl = other.getIcoUrl();
        if ((this$icoUrl == null) ? (other$icoUrl != null) : !this$icoUrl.equals(other$icoUrl)) return false;
        Object this$logoUrl = getLogoUrl(), other$logoUrl = other.getLogoUrl();
        if ((this$logoUrl == null) ? (other$logoUrl != null) : !this$logoUrl.equals(other$logoUrl)) return false;
        Object this$wgName = getWgName(), other$wgName = other.getWgName();
        if ((this$wgName == null) ? (other$wgName != null) : !this$wgName.equals(other$wgName)) return false;
        Object this$wgShortName = getWgShortName(), other$wgShortName = other.getWgShortName();
        if ((this$wgShortName == null) ? (other$wgShortName != null) : !this$wgShortName.equals(other$wgShortName))
            return false;
        Object this$webSsh = getWebSsh(), other$webSsh = other.getWebSsh();
        if ((this$webSsh == null) ? (other$webSsh != null) : !this$webSsh.equals(other$webSsh)) return false;
        Object this$sidebarCollapse = getSidebarCollapse(), other$sidebarCollapse = other.getSidebarCollapse();
        if ((this$sidebarCollapse == null) ? (other$sidebarCollapse != null) : !this$sidebarCollapse.equals(other$sidebarCollapse))
            return false;
        Object this$shellToRun = getShellToRun(), other$shellToRun = other.getShellToRun();
        if ((this$shellToRun == null) ? (other$shellToRun != null) : !this$shellToRun.equals(other$shellToRun))
            return false;
        Object this$shellToRunLinuxBlock = getShellToRunLinuxBlock(), other$shellToRunLinuxBlock = other.getShellToRunLinuxBlock();
        if ((this$shellToRunLinuxBlock == null) ? (other$shellToRunLinuxBlock != null) : !this$shellToRunLinuxBlock.equals(other$shellToRunLinuxBlock))
            return false;
        Object this$shellToRunWinBlock = getShellToRunWinBlock(), other$shellToRunWinBlock = other.getShellToRunWinBlock();
        if ((this$shellToRunWinBlock == null) ? (other$shellToRunWinBlock != null) : !this$shellToRunWinBlock.equals(other$shellToRunWinBlock))
            return false;
        Object this$daemonUrl = getDaemonUrl(), other$daemonUrl = other.getDaemonUrl();
        return !((this$daemonUrl == null) ? (other$daemonUrl != null) : !this$daemonUrl.equals(other$daemonUrl));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.wgcloud.config.CommonConfig;
    }

    public int hashCode() {
        int PRIME = 59,
        result = 1;
        Object $dbTableTimes = getDbTableTimes();
        result = result * 59 + (($dbTableTimes == null) ? 43 : $dbTableTimes.hashCode());
        Object $heathTimes = getHeathTimes();
        result = result * 59 + (($heathTimes == null) ? 43 : $heathTimes.hashCode());
        Object $dceTimes = getDceTimes();
        result = result * 59 + (($dceTimes == null) ? 43 : $dceTimes.hashCode());
        Object $warnCacheTimes = getWarnCacheTimes();
        result = result * 59 + (($warnCacheTimes == null) ? 43 : $warnCacheTimes.hashCode());
        Object $historyDataOut = getHistoryDataOut();
        result = result * 59 + (($historyDataOut == null) ? 43 : $historyDataOut.hashCode());
        Object $webSshPort = getWebSshPort();
        result = result * 59 + (($webSshPort == null) ? 43 : $webSshPort.hashCode());
        Object $account = getAccount();
        result = result * 59 + (($account == null) ? 43 : $account.hashCode());
        Object $accountPwd = getAccountPwd();
        result = result * 59 + (($accountPwd == null) ? 43 : $accountPwd.hashCode());
        Object $guestAccount = getGuestAccount();
        result = result * 59 + (($guestAccount == null) ? 43 : $guestAccount.hashCode());
        Object $guestAccountPwd = getGuestAccountPwd();
        result = result * 59 + (($guestAccountPwd == null) ? 43 : $guestAccountPwd.hashCode());
        Object $wgToken = getWgToken();
        result = result * 59 + (($wgToken == null) ? 43 : $wgToken.hashCode());
        Object $dashView = getDashView();
        result = result * 59 + (($dashView == null) ? 43 : $dashView.hashCode());
        Object $dapingView = getDapingView();
        result = result * 59 + (($dapingView == null) ? 43 : $dapingView.hashCode());
        Object $nodeType = getNodeType();
        result = result * 59 + (($nodeType == null) ? 43 : $nodeType.hashCode());
        Object $icoUrl = getIcoUrl();
        result = result * 59 + (($icoUrl == null) ? 43 : $icoUrl.hashCode());
        Object $logoUrl = getLogoUrl();
        result = result * 59 + (($logoUrl == null) ? 43 : $logoUrl.hashCode());
        Object $wgName = getWgName();
        result = result * 59 + (($wgName == null) ? 43 : $wgName.hashCode());
        Object $wgShortName = getWgShortName();
        result = result * 59 + (($wgShortName == null) ? 43 : $wgShortName.hashCode());
        Object $webSsh = getWebSsh();
        result = result * 59 + (($webSsh == null) ? 43 : $webSsh.hashCode());
        Object $sidebarCollapse = getSidebarCollapse();
        result = result * 59 + (($sidebarCollapse == null) ? 43 : $sidebarCollapse.hashCode());
        Object $shellToRun = getShellToRun();
        result = result * 59 + (($shellToRun == null) ? 43 : $shellToRun.hashCode());
        Object $shellToRunLinuxBlock = getShellToRunLinuxBlock();
        result = result * 59 + (($shellToRunLinuxBlock == null) ? 43 : $shellToRunLinuxBlock.hashCode());
        Object $shellToRunWinBlock = getShellToRunWinBlock();
        result = result * 59 + (($shellToRunWinBlock == null) ? 43 : $shellToRunWinBlock.hashCode());
        Object $daemonUrl = getDaemonUrl();
        return result * 59 + (($daemonUrl == null) ? 43 : $daemonUrl.hashCode());
    }

    public String toString() {
        return "CommonConfig(account=" + getAccount() + ", accountPwd=" + getAccountPwd() + ", guestAccount=" + getGuestAccount() + ", guestAccountPwd=" + getGuestAccountPwd() + ", wgToken=" + getWgToken() + ", dashView=" + getDashView() + ", dapingView=" + getDapingView() + ", dbTableTimes=" + getDbTableTimes() + ", heathTimes=" + getHeathTimes() + ", dceTimes=" + getDceTimes() + ", warnCacheTimes=" + getWarnCacheTimes() + ", nodeType=" + getNodeType() + ", historyDataOut=" + getHistoryDataOut() + ", icoUrl=" + getIcoUrl() + ", logoUrl=" + getLogoUrl() + ", wgName=" + getWgName() + ", wgShortName=" + getWgShortName() + ", webSsh=" + getWebSsh() + ", webSshPort=" + getWebSshPort() + ", sidebarCollapse=" + getSidebarCollapse() + ", shellToRun=" + getShellToRun() + ", shellToRunLinuxBlock=" + getShellToRunLinuxBlock() + ", shellToRunWinBlock=" + getShellToRunWinBlock() + ", daemonUrl=" + getDaemonUrl() + ")";
    }

    /*     */
    /*     */
    /*     */
    /*     */
    /*     */
    /*     */
    /*  16 */   private String account = "admin";
    /*  17 */   private String accountPwd = "111111";
    /*  18 */   private String guestAccount = "guest";
    /*  19 */   private String guestAccountPwd = "111111";
    /*  20 */   private String wgToken = "";
    /*     */   private String dashView;
    /*     */   private String dapingView;
    /*  23 */   private Integer dbTableTimes = Integer.valueOf(3600);
    /*  24 */   private Integer heathTimes = Integer.valueOf(600);
    /*  25 */   private Integer dceTimes = Integer.valueOf(900);
    /*  26 */   private Integer warnCacheTimes = Integer.valueOf(7200);
    /*  27 */   private String nodeType = "master";
    /*  28 */   private Integer historyDataOut = Integer.valueOf(10);
    /*  29 */   private String icoUrl = "";
    /*  30 */   private String logoUrl = "";
    /*  31 */   private String wgName = "";
    /*  32 */   private String wgShortName = "";
    /*     */   private String webSsh;
    /*  34 */   private Integer webSshPort = Integer.valueOf(9998);
    /*     */   private String sidebarCollapse;
    /*     */   private String shellToRun;
    /*     */   private String shellToRunLinuxBlock;
    /*     */   private String shellToRunWinBlock;
    /*     */   private String daemonUrl;

    /*     */
    /*     */
    public String getAccount() {
        /*  42 */
        return this.account;
        /*     */
    }

    /*     */
    /*     */
    public void setAccount(String account) {
        /*  46 */
        this.account = account;
        /*     */
    }

    /*     */
    /*     */
    public String getAccountPwd() {
        /*  50 */
        return this.accountPwd;
        /*     */
    }

    /*     */
    /*     */
    public void setAccountPwd(String accountPwd) {
        /*  54 */
        this.accountPwd = accountPwd;
        /*     */
    }

    /*     */
    /*     */
    public String getWgToken() {
        /*  58 */
        return this.wgToken;
        /*     */
    }

    /*     */
    /*     */
    public void setWgToken(String wgToken) {
        /*  62 */
        this.wgToken = wgToken;
        /*     */
    }

    /*     */
    /*     */
    /*     */
    public String getDashView() {
        /*  67 */
        if (StringUtils.isEmpty(this.dashView)) {
            /*  68 */
            return "true";
            /*     */
        }
        /*  70 */
        return this.dashView;
        /*     */
    }

    /*     */
    /*     */
    public void setDashView(String dashView) {
        /*  74 */
        this.dashView = dashView;
        /*     */
    }

    /*     */
    /*     */
    public Integer getDbTableTimes() {
        /*  78 */
        if (this.dbTableTimes == null) {
            /*  79 */
            return Integer.valueOf(3600);
            /*     */
        }
        /*  81 */
        return this.dbTableTimes;
        /*     */
    }

    /*     */
    /*     */
    public void setDbTableTimes(Integer dbTableTimes) {
        /*  85 */
        this.dbTableTimes = dbTableTimes;
        /*     */
    }

    /*     */
    /*     */
    public Integer getHeathTimes() {
        /*  89 */
        if (this.heathTimes == null) {
            /*  90 */
            return Integer.valueOf(600);
            /*     */
        }
        /*  92 */
        return this.heathTimes;
        /*     */
    }

    /*     */
    /*     */
    public void setHeathTimes(Integer heathTimes) {
        /*  96 */
        this.heathTimes = heathTimes;
        /*     */
    }

    /*     */
    /*     */
    public String getNodeType() {
        /* 100 */
        return this.nodeType;
        /*     */
    }

    /*     */
    /*     */
    public void setNodeType(String nodeType) {
        /* 104 */
        this.nodeType = nodeType;
        /*     */
    }

    /*     */
    /*     */
    public Integer getHistoryDataOut() {
        /* 108 */
        if (this.historyDataOut == null) {
            /* 109 */
            return Integer.valueOf(10);
            /*     */
        }
        /* 111 */
        return this.historyDataOut;
        /*     */
    }

    /*     */
    /*     */
    public void setHistoryDataOut(Integer historyDataOut) {
        /* 115 */
        this.historyDataOut = historyDataOut;
        /*     */
    }

    /*     */
    /*     */
    public Integer getWarnCacheTimes() {
        /* 119 */
        if (this.warnCacheTimes == null) {
            /* 120 */
            return Integer.valueOf(3600);
            /*     */
        }
        /* 122 */
        return this.warnCacheTimes;
        /*     */
    }

    /*     */
    /*     */
    public void setWarnCacheTimes(Integer warnCacheTimes) {
        /* 126 */
        this.warnCacheTimes = warnCacheTimes;
        /*     */
    }

    /*     */
    /*     */
    public String getIcoUrl() {
        /* 130 */
        return this.icoUrl;
        /*     */
    }

    /*     */
    /*     */
    public void setIcoUrl(String icoUrl) {
        /* 134 */
        this.icoUrl = icoUrl;
        /*     */
    }

    /*     */
    /*     */
    public String getLogoUrl() {
        /* 138 */
        return this.logoUrl;
        /*     */
    }

    /*     */
    /*     */
    public void setLogoUrl(String logoUrl) {
        /* 142 */
        this.logoUrl = logoUrl;
        /*     */
    }

    /*     */
    /*     */
    public String getWgName() {
        /* 146 */
        return this.wgName;
        /*     */
    }

    /*     */
    /*     */
    public void setWgName(String wgName) {
        /* 150 */
        this.wgName = wgName;
        /*     */
    }

    /*     */
    /*     */
    public String getWgShortName() {
        /* 154 */
        return this.wgShortName;
        /*     */
    }

    /*     */
    /*     */
    public void setWgShortName(String wgShortName) {
        /* 158 */
        this.wgShortName = wgShortName;
        /*     */
    }

    /*     */
    /*     */
    public String getDapingView() {
        /* 162 */
        if (StringUtils.isEmpty(this.dapingView)) {
            /* 163 */
            return "true";
            /*     */
        }
        /* 165 */
        return this.dapingView;
        /*     */
    }

    /*     */
    /*     */
    public void setDapingView(String dapingView) {
        /* 169 */
        this.dapingView = dapingView;
        /*     */
    }

    /*     */
    /*     */
    public String getWebSsh() {
        /* 173 */
        if (StringUtils.isEmpty(this.webSsh)) {
            /* 174 */
            return "true";
            /*     */
        }
        /* 176 */
        return this.webSsh;
        /*     */
    }

    /*     */
    /*     */
    public void setWebSsh(String webSsh) {
        /* 180 */
        this.webSsh = webSsh;
        /*     */
    }

    /*     */
    /*     */
    public Integer getWebSshPort() {
        /* 184 */
        if (this.warnCacheTimes == null) {
            /* 185 */
            return Integer.valueOf(9998);
            /*     */
        }
        /* 187 */
        return this.webSshPort;
        /*     */
    }

    /*     */
    /*     */
    public void setWebSshPort(Integer webSshPort) {
        /* 191 */
        this.webSshPort = webSshPort;
        /*     */
    }

    /*     */
    /*     */
    public Integer getDceTimes() {
        /* 195 */
        if (this.dceTimes == null) {
            /* 196 */
            return Integer.valueOf(900);
            /*     */
        }
        /* 198 */
        return this.dceTimes;
        /*     */
    }

    /*     */
    /*     */
    public void setDceTimes(Integer dceTimes) {
        /* 202 */
        this.dceTimes = dceTimes;
        /*     */
    }

    /*     */
    /*     */
    public String getSidebarCollapse() {
        /* 206 */
        if (StringUtils.isEmpty(this.sidebarCollapse) || "true".equals(this.sidebarCollapse))
            /*     */ {
            /* 208 */
            return "sidebar-mini sidebar-collapse";
            /*     */
        }
        /*     */
        /* 211 */
        return "hold-transition sidebar-mini layout-fixed";
        /*     */
    }

    /*     */
    /*     */
    public void setSidebarCollapse(String sidebarCollapse) {
        /* 215 */
        this.sidebarCollapse = sidebarCollapse;
        /*     */
    }

    /*     */
    /*     */
    public String getShellToRun() {
        /* 219 */
        if (StringUtils.isEmpty(this.shellToRun)) {
            /* 220 */
            return "false";
            /*     */
        }
        /* 222 */
        return this.shellToRun;
        /*     */
    }

    /*     */
    /*     */
    public void setShellToRun(String shellToRun) {
        /* 226 */
        this.shellToRun = shellToRun;
        /*     */
    }

    /*     */
    /*     */
    public String getShellToRunLinuxBlock() {
        /* 230 */
        return this.shellToRunLinuxBlock;
        /*     */
    }

    /*     */
    /*     */
    public void setShellToRunLinuxBlock(String shellToRunLinuxBlock) {
        /* 234 */
        this.shellToRunLinuxBlock = shellToRunLinuxBlock;
        /*     */
    }

    /*     */
    /*     */
    public String getShellToRunWinBlock() {
        /* 238 */
        return this.shellToRunWinBlock;
        /*     */
    }

    /*     */
    /*     */
    public void setShellToRunWinBlock(String shellToRunWinBlock) {
        /* 242 */
        this.shellToRunWinBlock = shellToRunWinBlock;
        /*     */
    }

    /*     */
    /*     */
    public String getDaemonUrl() {
        /* 246 */
        if (StringUtils.isEmpty(this.daemonUrl)) {
            /* 247 */
            return "http://localhost:9997";
            /*     */
        }
        /* 249 */
        return this.daemonUrl;
        /*     */
    }

    /*     */
    /*     */
    public void setDaemonUrl(String daemonUrl) {
        /* 253 */
        this.daemonUrl = daemonUrl;
        /*     */
    }

    /*     */
    /*     */
    public String getGuestAccount() {
        /* 257 */
        return this.guestAccount;
        /*     */
    }

    /*     */
    /*     */
    public void setGuestAccount(String guestAccount) {
        /* 261 */
        this.guestAccount = guestAccount;
        /*     */
    }

    /*     */
    /*     */
    public String getGuestAccountPwd() {
        /* 265 */
        return this.guestAccountPwd;
        /*     */
    }

    /*     */
    /*     */
    public void setGuestAccountPwd(String guestAccountPwd) {
        /* 269 */
        this.guestAccountPwd = guestAccountPwd;
        /*     */
    }
    /*     */
}


/* Location:              /Users/zhangyongxin/soft-install/wgcloud/wgcloud-v3.3.5/server/bank/wgcloud-server-release.jar!/BOOT-INF/classes/com/wgcloud/config/CommonConfig.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */